# encoding    : utf-8
# author      : 伦裕如
# project     : hrjt_-py1
# file        : calculator
# time        : 2024-06-25 上午9:03 

class Calculator:

    @staticmethod
    def sum_num(a, b):
        return a + b

    @staticmethod
    def del_num(a, b):
        return a - b

    @staticmethod
    def mul_num(a, b):
        return a * b

    @staticmethod
    def div_num(a, b):
        if b == 0:
            print('除数为0， 非法')
            return 0
        return a / b

    @staticmethod
    def mod_num(a, b):
        return a % b



